/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package pessoas.presenter;

import java.util.ArrayList;
import pessoas.model.Contato;
import pessoas.view.ImportacaoXMLView;

/**
 *
 * @author Bush
 */
public class BarraProgessoPresenter implements Runnable{
    private ImportacaoXMLView view;
    private int i=0;
    
    public BarraProgessoPresenter(int i) {
        this.i = i;       
        
    }
    
    public void atualizaBarra(){
            view.getBarraProgresso().setValue(i);        
    }
    @Override
    public void run() {
        atualizaBarra();
    }
    
}
